﻿<%@ Page Language="C#" MasterPageFile="~/System/BidProject.master" AutoEventWireup="true"
    CodeFile="CompetePrice1.aspx.cs" Inherits="Bidder_CompetePrice1" Title="Untitled Page"  %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc2" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

  <script language="vbscript" src="../Common/yz.vbs" type="text/vbscript"></script>
<script language="JavaScript">  
　 
　　function openwin(GVbidCount,GVAlreadyIsbidNum,GVshouldisbidnum,GVlassCount,strNumber) 
　　{ 
　  
　　window.open ("CompeteShow.aspx?GVbidCount="+GVbidCount+"&GVAlreadyIsbidNum="+GVAlreadyIsbidNum+"&GVshouldisbidnum="+GVshouldisbidnum+"&GVlassCount="+GVlassCount+"&strNumber="+strNumber,"AAAAAAA", "height=300,width=500,toolbar =no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no"); 
　　} 
　　</script>  

    <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34" /></td>
            <td class="intro_wordbg">
                竞价报价</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34" /></td>
        </tr>
    </table>
    <table border="1" width="98%" id="tabData">
        <tr>
            <td align="right">
                通用名：</td>
            <td>
                <asp:TextBox ID="ProductName" runat="server" ></asp:TextBox></td>
            <td align="right">
                生产企业：</td>
            <td>
                <asp:TextBox ID="CompanyName" runat="server" ></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right">
                药品流水号：</td>
            <td>
                <asp:TextBox ID="txtGoodsId" runat="server"  NumericOnly="药品流水号"></asp:TextBox></td>
            <td align="right">
                竞价报价状态：</td>
            <td>
                <asp:DropDownList ID="lstPriceState" runat="server" Width="157px">
                    <asp:ListItem>全部</asp:ListItem>
                    <asp:ListItem>未报价</asp:ListItem>
                    <asp:ListItem>已报价</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="查 询" class="button_bg" Width="60px" /></td>
        </tr>
        <tr>
            <td colspan="4">
                <uc2:DbPageFlip ID="DbPageFlip1" runat="server" /><br />
                <%--<strong> <asp:Label runat="server" ID="Label1" Font-Size="Larger" ForeColor="Red" Font-Bold="True" Text="尊敬的投标人，贵公司所投标的下列品规高于底价或低于标底数量大约应该入围数量导致未能入围，需进行第二次报价，第二次报价时，你的底价自动下浮2%，请把握好机会，在规定时间内进行报价。"></asp:Label>
                </strong>--%>
                <br />
                <asp:Label runat="server" ID="ErrorMsg" Font-Size="Larger" ForeColor="Red" Font-Bold="True"></asp:Label>
                </td>
        </tr>
        <tr>
            <td colspan="4">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound"
        CssClass='table_table' HeaderStyle-CssClass='table_title'  >
        <Columns>
            <asp:BoundField DataField="Goodsid" HeaderText="流水号" />
            <asp:BoundField DataField="productname" HeaderText="通用名" />
             <asp:BoundField DataField="Medicinemodel" HeaderText="剂型" />
           <asp:BoundField DataField="outlookc" HeaderText="规格" />
            <asp:BoundField DataField="factory" HeaderText="生产企业" />
            <asp:BoundField DataField="factor" HeaderText="转换系数" />
            <asp:BoundField DataField="spprice" HeaderText="投标报价" />
           <%-- <asp:BoundField DataField="limitprice" HeaderText="标底价" />--%>
            <asp:TemplateField HeaderText="竞价报价">
                <ItemTemplate>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="第二次竞价">
                <ItemTemplate>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="第三次竞价">
                <ItemTemplate>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="CompetitionSwich" HeaderText="CS" />
            <asp:BoundField DataField="CompetitionNum" HeaderText="CN" />
            <asp:BoundField DataField="CompetePackPrice1" HeaderText="CompetePackPrice1" HtmlEncode="False" DataFormatString="{0:N2}" />
            <asp:BoundField DataField="CompetePackPrice2" HeaderText="CompetePackPrice2" HtmlEncode="False" DataFormatString="{0:N2}"  />

            <asp:BoundField DataField="bidid" HeaderText="bidid" />
            <asp:BoundField DataField="CompeteMinPrice1" HeaderText="竞价最小制剂价1"  DataFormatString="{0:N2}" />
            <asp:BoundField DataField="CompeteMinPrice2" HeaderText="竞价最小制剂价2"  DataFormatString="{0:N2}" />
            <asp:BoundField DataField="bidnumber" HeaderText="总竞价人数"   />
            <asp:BoundField DataField="AlreadyIsbidNum" HeaderText="已中标人数" />
            <asp:BoundField DataField="shouldisbidnum" HeaderText="应该中标人数" />
            <asp:BoundField DataField="lessnum" HeaderText="还剩中标名额"   />
            
             <asp:TemplateField HeaderText="查看">
                <ItemTemplate>
                    
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="lassCount" HeaderText="低于标底的"   />
      
        </Columns>
        <RowStyle CssClass="table_td" />
        <AlternatingRowStyle CssClass="table_td2" />
        <HeaderStyle CssClass="table_title" />
    </asp:GridView>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td style="width: 67px; height: 20px;">
                <input name="SaveCPrice" type="submit" value="提交本页报价" class="button_bg6" style="display:<%=status%>; width: 92px; height: 18px;" onclick="javascript:return CheckForm()"/></td>
        </tr>
        <tr>
            <td style="width: 67px">
                </td>
        </tr>
    </table>
</asp:Content>
